<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/leave.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryLeaveApplyForm');
			queryLeaveApply_leave(page);
		}
	});
	$('#queryLeaveApplyForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryLeaveApplyForm">
<table class="search_term_table">
	<tr>
		<th style="width: 80px;">创建时间</th>
		<td>
			<input id="st" type="text" style="width:80px;" name="st" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});">
		</td>
		<th style="width: 80px;">是否屏蔽</th>
		<td><@mt.YesOrNo r=true name='deleted' d=false mc=true /></td>
		<td style="text-align:right;">
			<button class="btn btn-info" onclick="javascript:queryLeaveApply_leave(); return false;"><i class="icon-search"></i> 查 询 </button>
			<button class="btn btn-success" onclick="javascript:sys_load_handle('leaveApply-edit'); return false;"><i class="icon-file"></i> 请假申请</button>
		</td>
	</tr>
</table>
</form>
<div id="leaveApplyResultList"></div>
